package com.lm.stream;


import com.lm.stream.service.MessageChannels;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * Spring Cloud Stream 是一个基于 Spring Boot 的消息驱动框架。
 */
@SpringBootApplication
@EnableBinding(MessageChannels.class)
public class StreamApplication {
    public static void main(String[] args) {
        SpringApplication.run(StreamApplication.class, args);
    }
}
